import { App } from 'vue'
import {
  Avatar,
  Postcard,
  Iphone,
  Apple,
  Expand,
  Fold,
  CircleClose,
  User,
  Edit,
  Search,
  Money,
  Setting,
  Goods,
  ChatLineRound,
  InfoFilled,
  ChatDotRound,
  Bell
} from '@element-plus/icons'

const components = [
  Avatar,
  Iphone,
  Apple,
  Expand,
  Fold,
  CircleClose,
  User,
  Edit,
  Search,
  Money,
  Setting,
  Goods,
  ChatLineRound,
  InfoFilled,
  ChatDotRound,
  Bell,
  Postcard
]
export default function (app: App): void {
  for (const cpn of components) {
    app.component(cpn.name, cpn)
  }
}
